Deriving Event-based Document Transformers from Tree-based Speciications

نویسندگان

  • Keisuke NAKANO
  • Susumu NISHIMURA
چکیده

The event-based document transformers, which process a structured document simply as a stream of parsing events, have an advantage over the conventional tree-based ones that they can avoid the unnecessary intermediate data construction. This paper proposes an algorithm which derives an event-based transformer from a given speci-cation of a document transformation. The derivation of an event-based transformer is carried out in the framework of attribute grammars. We rst obtain an attribute grammar for the event-based transformer by applying a deforestation method and then to derive an attribute evaluation scheme relevant to the event-based transformation. The algorithm enables a more declarative style of development of event-based document transformers.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Deriving Event-Based Document Transformers from Tree-Based Specifications

Structured documents are usually processed by tree-based document transformers, which transform the document tree representing the structure of the input document into another tree structure. Event-based document transformers, by contrast, recognize the input as a stream of parsing events, i. e. lexical tokens, and process the events one by one in an event-driven manner. Event-based document tr...

متن کامل

Deriving Incremental Implementations from Algebraic Speciications

We present a technique for deriving incremental implementations for a subclass of algebraic speciications, namely, conditional well-presented primitive recursive schemes. We use concepts of the translation of well-presented primitive recursive schemes to strongly non-circular attribute grammars, storing results of function applications and their parameters as attributes in an abstract syntax tr...

متن کامل

Plagiarism checker for Persian (PCP) texts using hash-based tree representative fingerprinting

With due respect to the authors’ rights, plagiarism detection, is one of the critical problems in the field of text-mining that many researchers are interested in. This issue is considered as a serious one in high academic institutions. There exist language-free tools which do not yield any reliable results since the special features of every language are ignored in them. Considering the paucit...

متن کامل

COLOR-X: Linguistically-based Event Modeling: A General Approach to Dynamic Modeling

This paper introduces a way of modeling the dynamic aspects of an Information and Communication System in which all the occurring events are listed and ordered in time. These graphical Event Models are based on formal (logical) speciications. Event Models are very close to the speciications in the informal requirements document, which describes the Universe of Discourse. By means of the underly...

متن کامل

Determining factors contributing to the five-year survival of children suffering from acute lymphoblastic leukemia based on tree survival model in the presence of competing risks

Abstract Background and objectives: Leukemia is one of the most prevalent cancers worldwide. The relapse of the disease mitigates patient survival time. The convenience of explaining the results obtained from analyzing tree models have encouraged doctors and paramedics to employ them in their research. The current study is an attempt to determine the five-year survival time and factors influen...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001